From 10cb7f90e442a17501ad0a62316661aca201608b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 11 Jun 2015 16:18:02 +0200 Subject: [PATCH] entry: Set text direction information on text handles This way the handles point to the right side on the presence of rtl/ltr text. --- gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index c1b3ab7194..61c3ba4823 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -4174,6 +4174,7 @@ gtk_entry_move_handle (GtkEntry *entry, _gtk_text_handle_set_visible (priv->text_handle, pos, TRUE); _gtk_text_handle_set_position (priv->text_handle, pos, &rect); + _gtk_text_handle_set_direction (priv->text_handle, pos, priv->resolved_dir); } } -- 2.30.2